#C source file list
C_SOURCES := \
${C_SOURCES} \
${sdkRoot}/bsp/OS/RTThread/src/clock.c \
${sdkRoot}/bsp/OS/RTThread/src/components.c \
${sdkRoot}/bsp/OS/RTThread/src/cpu.c \
${sdkRoot}/bsp/OS/RTThread/src/idle.c \
${sdkRoot}/bsp/OS/RTThread/src/ipc.c \
${sdkRoot}/bsp/OS/RTThread/src/irq.c \
${sdkRoot}/bsp/OS/RTThread/src/kservice.c \
${sdkRoot}/bsp/OS/RTThread/src/mem.c \
${sdkRoot}/bsp/OS/RTThread/src/memheap.c \
${sdkRoot}/bsp/OS/RTThread/src/mempool.c \
${sdkRoot}/bsp/OS/RTThread/src/object.c \
${sdkRoot}/bsp/OS/RTThread/src/scheduler.c \
${sdkRoot}/bsp/OS/RTThread/src/slab.c \
${sdkRoot}/bsp/OS/RTThread/src/thread.c \
${sdkRoot}/bsp/OS/RTThread/src/timer.c \
${sdkRoot}/bsp/OS/RTThread/libcpu/risc-v/cpuport.c

#ASM source file list
ASM_SOURCES := \
${ASM_SOURCES} \
${sdkRoot}/bsp/OS/RTThread/libcpu/risc-v/context_gcc.S \
${sdkRoot}/bsp/OS/RTThread/libcpu/risc-v/interrupt_gcc.S

# AS defines
AS_DEFS := ${AS_DEFS}

# C defines
C_DEFS := ${C_DEFS}

# AS includes
AS_INCLUDES := ${AS_INCLUDES}

# C includes
C_INCLUDES := \
${C_INCLUDES} \
-I ${sdkRoot}/bsp/OS/RTThread/include/libc/ \
-I ${sdkRoot}/bsp/OS/RTThread/include/ \
-I ${sdkRoot}/bsp/OS/RTThread/libcpu/risc-v/ 
